<?php
return [
    "name" => "yl_用户财务相关",
    "list" => [
//---------------------------------------------------------华丽的分割线----------------------------------------------------
        
        "用户绑定(小程序)" => [
            "desc"  => "用户绑定<br/>成功返回用户信息userinfo",
            "url"   => "/yluser/user/bind",
            "method"=> "post",
            "param" => [
                "openid" => [
                    "lable"         => "openid",
                    "type"          => "text",
                    "placeholder"   => "openid",
                    "value"         => "",
                ],
                "phone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "手机号",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "手机验证码",
                    "type"          => "text",
                    "placeholder"   => "手机验证码",
                    "value"         => "",
                ],
                "invitecode" => [
                    "lable"         => "邀请码",
                    "type"          => "text",
                    "placeholder"   => "邀请码",
                    "value"         => "",
                ],
                "agreement" => [
                    "lable"         => "同意协议",
                    "type"          => "text",
                    "placeholder"   => "同意协议 传个1",
                    "value"         => "",
                ]
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 2,
        "openid": "微信openid",
        "username": "用户名",
        "name": "姓名",
        "phone": "手机号",
        "level_name": "级别",
        "vip_nums":"vip数量",
        "pic": "头像",
        "password": "登陆密码",
        "s_password": "支付密码",
        "money": "余额",
        "money_jf": "积分",
        "money_sy": "收益",
        "money_tg": "冻结推广奖",
        "sex_name": "性别",
        "age": "年龄",
        "reg_ip": "注册ip",
        "last_login_time": "最后登陆时间",
        "login_times": "登陆次数",
        "last_login_ip": "最后登陆ip",
        "token": "pc_token",
        "wap_token": "h5_token",
        "app_token": "app_token",
        "tuisong_token": "tuisong_token",
        "status_name": "状态",
        "v": 1,
        "create_time_name": "创建时间",
        "update_time": "更新时间",
        "s_id": "上级ID",
        "s_tree": "上级树",
        "s_level": "层数",
        "s_nums": "推荐数"
    },
    "count": 0
}
EOT
,
        ],

        "用户注册(app)" => [
            "desc"  => "用户注册<br/>成功返回用户信息userinfo",
            "url"   => "/yluser/user/register",
            "method"=> "post",
            "param" => [
                "phone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "手机号",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "手机验证码",
                    "type"          => "text",
                    "placeholder"   => "手机验证码",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "密码",
                    "type"          => "text",
                    "placeholder"   => "密码",
                    "value"         => "",
                ],
                "invitecode" => [
                    "lable"         => "邀请码",
                    "type"          => "text",
                    "placeholder"   => "邀请码",
                    "value"         => "",
                ],
                "agreement" => [
                    "lable"         => "同意协议",
                    "type"          => "text",
                    "placeholder"   => "同意协议 传个1",
                    "value"         => "",
                ]
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "注册成功",
    "data": {
    },
    "count": 0
}
EOT
,
        ],

    	"用户登录(app)" => [
            "desc"  => "用户登录",
            "url"   => "/yluser/user/login",
            "method"=> "post",
            "param" => [
                "phone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "手机号",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "密码",
                    "type"          => "text",
                    "placeholder"   => "密码",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 2,
        "openid": "微信openid",
        "username": "用户名",
        "name": "姓名",
        "phone": "手机号",
        "level_name": "级别",
        "vip_nums":"vip数量",
        "pic": "头像",
        "password": "登陆密码",
        "s_password": "支付密码",
        "money": "余额",
        "money_jf": "积分",
        "money_sy": "收益",
        "money_tg": "冻结推广奖",
        "sex_name": "性别",
        "age": "年龄",
        "reg_ip": "注册ip",
        "last_login_time": "最后登陆时间",
        "login_times": "登陆次数",
        "last_login_ip": "最后登陆ip",
        "token": "pc_token",
        "wap_token": "h5_token",
        "app_token": "app_token",
        "tuisong_token": "tuisong_token",
        "status_name": "状态",
        "v": 1,
        "create_time_name": "创建时间",
        "update_time": "更新时间",
        "s_id": "上级ID",
        "s_tree": "上级树",
        "s_level": "层数",
        "s_nums": "推荐数"
    },
    "count": 0
}
EOT
,
        ],
        "手机号登录(H5&APP)" => [
            "desc"  => "手机号登录",
            "url"   => "/yluser/user/smsLogin",
            "method"=> "post",
            "param" => [
                "phone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "手机号",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "验证码",
                    "type"          => "text",
                    "placeholder"   => "验证码",
                    "value"         => "",
                ],
            ],
            "reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 2,
        "openid": "微信openid",
        "username": "用户名",
        "name": "姓名",
        "phone": "手机号",
        "level_name": "级别",
        "vip_nums":"vip数量",
        "pic": "头像",
        "password": "登陆密码",
        "s_password": "支付密码",
        "money": "余额",
        "money_jf": "积分",
        "money_sy": "收益",
        "money_tg": "冻结推广奖",
        "sex_name": "性别",
        "age": "年龄",
        "reg_ip": "注册ip",
        "last_login_time": "最后登陆时间",
        "login_times": "登陆次数",
        "last_login_ip": "最后登陆ip",
        "token": "pc_token",
        "wap_token": "h5_token",
        "app_token": "app_token",
        "tuisong_token": "tuisong_token",
        "status_name": "状态",
        "v": 1,
        "create_time_name": "创建时间",
        "update_time": "更新时间",
        "s_id": "上级ID",
        "s_tree": "上级树",
        "s_level": "层数",
        "s_nums": "推荐数"
    },
    "count": 0
}
EOT
            ,
        ],
        "获取用户信息(token)" => [
            "desc"  => "获取用户信息(token)",
            "url"   => "/yluser/user/gettokenuserinfo",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录token",
                    "type"          => "text",
                    "placeholder"   => "登录token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 2,
        "openid": "微信openid",
        "username": "用户名",
        "name": "姓名",
        "phone": "手机号",
        "level_name": "级别",
        "vip_nums":"vip数量",
        "pic": "头像",
        "password": "登陆密码",
        "s_password": "支付密码",
        "money": "余额",
        "money_jf": "积分",
        "money_sy": "收益",
        "money_tg": "冻结推广奖",
        "sex_name": "性别",
        "age": "年龄",
        "reg_ip": "注册ip",
        "last_login_time": "最后登陆时间",
        "login_times": "登陆次数",
        "last_login_ip": "最后登陆ip",
        "token": "pc_token",
        "wap_token": "h5_token",
        "app_token": "app_token",
        "tuisong_token": "tuisong_token",
        "status_name": "状态",
        "v": 1,
        "create_time_name": "创建时间",
        "update_time": "更新时间",
        "s_id": "上级ID",
        "s_tree": "上级树",
        "s_level": "层数",
        "s_nums": "推荐数"
    },
    "count": 0
}
EOT
,
        ],
        "获取用户信息(openid)" => [
            "desc"  => "获取用户信息(openid)",
            "url"   => "/yluser/user/getopeniduserinfo",
            "method"=> "post",
            "param" => [
                "openid" => [
                    "lable"         => "openid",
                    "type"          => "text",
                    "placeholder"   => "openid",
                    "value"         => "",
                ]
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 2,
        "openid": "微信openid",
        "username": "用户名",
        "name": "姓名",
        "phone": "手机号",
        "level_name": "级别",
        "vip_nums":"vip数量",
        "pic": "头像",
        "password": "登陆密码",
        "s_password": "支付密码",
        "money": "余额",
        "money_jf": "积分",
        "money_sy": "收益",
        "money_tg": "冻结推广奖",
        "sex_name": "性别",
        "age": "年龄",
        "reg_ip": "注册ip",
        "last_login_time": "最后登陆时间",
        "login_times": "登陆次数",
        "last_login_ip": "最后登陆ip",
        "token": "pc_token",
        "wap_token": "h5_token",
        "app_token": "app_token",
        "tuisong_token": "tuisong_token",
        "status_name": "状态",
        "v": 1,
        "create_time_name": "创建时间",
        "update_time": "更新时间",
        "s_id": "上级ID",
        "s_tree": "上级树",
        "s_level": "层数",
        "s_nums": "推荐数"
    },
    "count": 0
}
EOT
,
        ],

        "忘记密码(app)" => [
            "desc"  => "忘记密码",
            "url"   => "/yluser/user/forget",
            "method"=> "post",
            "param" => [
                "phone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "账号",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "新密码",
                    "type"          => "text",
                    "placeholder"   => "新密码",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "手机验证码",
                    "type"          => "text",
                    "placeholder"   => "手机验证码",
                    "value"         => "",
                ]
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
    },
    "count": 0
}
EOT
,
        ],
        "退出登录(app)" => [
            "desc"  => "退出登录",
            "url"   => "/yluser/user/logout",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录token",
                    "type"          => "text",
                    "placeholder"   => "登录token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
    },
    "count": 0
}
EOT
,
        ],

        "账单列表" => [
            "desc"  => "账单列表",
            "url"   => "/yluser/userbill/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "type" => [
                    "lable"         => "账单类型",
                    "type"          => "text",
                    "placeholder"   => "0:全部,100充值,101增加余额,103获得分佣,104获得返佣,105获得积分,106驳回提现,200:消费,201:减少余额,202提现",
                    "value"         => "",
                ],
                "status" => [
                    "lable"         => "状态",
                    "type"          => "text",
                    "placeholder"   => "-1支出 0全部 1收入",
                    "value"         => "",
                ],
                "ym" => [
                    "lable"         => "年月",
                    "type"          => "text",
                    "placeholder"   => "年月",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "id": 1,
                "order_no": "订单号",
                "money": "金额",
                "create_time": 1528265909,
                "type": "105",
                "withdraw_status": "提现状态",
                "type_name": "账单类型",
                "withdraw_status_name": "提现状态",
                "create_time_name": "创建时间"
            }
        ],
        "ym": "2018-05"
    },
    "count": 0
}
EOT
,
        ],
        "账单详情" => [
            "desc"  => "账单列表",
            "url"   => "/yluser/userbill/detail",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "ID",
                    "type"          => "text",
                    "placeholder"   => "账单ID",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 1,
        "user_id": 2,
        "order_no": "订单号",
        "type": 105,
        "money_type": "币种",
        "money": "金额",
        "show_money": "显示金额",
        "withdraw_status": "提现状态",
        "create_time": 1528265909,
        "create_time_name": "创建时间",
        "withdraw_status_name": "提现状态",
        "type_name": "账单类型"
    },
    "count": 0
}
EOT
,
        ],
        "收益列表" => [
            "desc"  => "收益列表",
            "url"   => "/yluser/usershouyi/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "type" => [
                    "lable"         => "账单类型",
                    "type"          => "text",
                    "placeholder"   => "0:全部,101增加余额,102鼓励金,109招商奖,106驳回提现,200:消费,201:减少余额,207",
                    "value"         => "",
                ],
                "status" => [
                    "lable"         => "状态",
                    "type"          => "text",
                    "placeholder"   => "-1支出 0全部 1收入",
                    "value"         => "",
                ],
                "ym" => [
                    "lable"         => "年月",
                    "type"          => "text",
                    "placeholder"   => "年月",
                    "value"         => "",
                ],
            ],
            "reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "id": 1,
                "order_no": "订单号",
                "money": "金额",
                "create_time": 1528265909,
                "type": "105",
                "withdraw_status": "提现状态",
                "type_name": "账单类型",
                "withdraw_status_name": "提现状态",
                "create_time_name": "创建时间"
            }
        ],
        "ym": "2018-05"
    },
    "count": 0
}
EOT
            ,
        ],
        "申请自动提现" => [
            "desc"  => "申请自动提现",
            "url"   => "/yluser/withdraw/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "bank_id" => [
                    "lable"         => "银行卡id",
                    "type"          => "text",
                    "placeholder"   => "银行卡id",
                    "value"         => "",
                ],
                "is_auto" => [
                    "lable"         => "是否自动提现",
                    "type"          => "text",
                    "placeholder"   => "是否自动提现 0|否 1|是",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
    },
    "count": 0
}
EOT
,
        ],
        "售出订单" => [
            "desc"  => "售出订单",
            "url"   => "/wsgoods/ordergoods/sold",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "ym" => [
                    "lable"         => "年月",
                    "type"          => "text",
                    "placeholder"   => "年月",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "分页",
                    "type"          => "text",
                    "placeholder"   => "分页",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": "1",
    "msg": "操作成功",
    "data": {
        "0": "1",
        "list": [
            {
                "id": 14,
                "order_no": "订单号",
                "user_id": 2,
                "order_total_money": "订单总金额",
                "status": 4,
                "create_time": "创建时间",
                "title": "产品名称",
                "goods_price_title": "规格",
                "pic": "图片",
                "name": "姓名"
            }
        ],
        "ym": "2018-05"
    },
    "count": 0
}

EOT
,
        ],
        "积分详情" => [
            "desc"  => "积分详情",
            "url"   => "/yluser/orderjifen/detail",
            "method"=> "post",
            "param" => [
                 "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "user_id": 2,
        "total_money_jf": "总积分",
        "use_money_jf": "已使用积分"
    },
    "count": 0
}
EOT
,
        ],
        "积分记录" => [
            "desc"  => "积分记录",
            "url"   => "/yluser/orderjifen/lists",
            "method"=> "post",
            "param" => [
                 "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "status" => [
                    "lable"         => "状态",
                    "type"          => "text",
                    "placeholder"   => "-1支出 0全部 1收入",
                    "value"         => "",
                ],
                "ym" => [
                    "lable"         => "年月",
                    "type"          => "text",
                    "placeholder"   => "年月",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "id": 1,
                "order_no": "订单号",
                "user_id": 2,
                "type": 0,
                "money": "金额",
                "show_money": "显示金额",
                "create_time": 1528265909,
                "create_time_name": "创建时间",
                "type_name": "积分类型"
            }
        ],
        "ym": "2018-05"

    },
    "count": 0
}
EOT
,
        ],
        "收益列表" => [
            "desc"  => "收益列表",
            "url"   => "/yluser/ordermtom/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "status" => [
                    "lable"         => "状态",
                    "type"          => "text",
                    "placeholder"   => "-1支出 0全部 1收入",
                    "value"         => "",
                ],
                "ym" => [
                    "lable"         => "年月",
                    "type"          => "text",
                    "placeholder"   => "年月",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
        "id": 1,
        "user_id": 2,
        "order_no": "订单号",
        "type": 105,
        "money_type": "币种",
        "money": "金额",
        "show_money": "显示金额",
        "withdraw_status": "提现状态",
        "create_time": 1528265909,
        "create_time_name": "创建时间",
        "withdraw_status_name": "提现状态",
        "type_name": "账单类型"
    },
    "count": 0
}
EOT
,
        ],
        "收益转出余额" => [
            "desc"  => "收益转出余额",
            "url"   => "/yluser/ordermtom/sytoye",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "money" => [
                    "lable"         => "转出金额",
                    "type"          => "text",
                    "placeholder"   => "转出金额",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": {
    },
    "count": 0
}
EOT
,
        ],
        "协议" => [
            "desc"  => "协议",
            "url"   => "/yluser/page/agreement",
            "method"=> "post",
            "param" => [
                "type" => [
                    "lable"         => "协议",
                    "type"          => "text",
                    "placeholder"   => "协议 0|注册协议 1|自动提现协议",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": "协议",
    "count": 0
}
EOT
,
        ],
        "分享图片" => [
            "desc"  => "分享图片",
            "url"   => "/yluser/Sharepic/share",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登陆token",
                    "type"          => "text",
                    "placeholder"   => "登陆token",
                    "value"         => "",
                ],
                "goods_id" => [
                    "lable"         => "产品id",
                    "type"          => "text",
                    "placeholder"   => "产品id",
                    "value"         => "",
                ],
            ],
"reback_demo" =><<<EOT
{
    "code": 0,
    "version": 1,
    "msg": "操作成功",
    "data": "地址",
    "count": 0
}
EOT
,
        ],
    ]
];
